﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities.Auditing;

namespace Coway.Ordering.Products
{
    /// <summary>
    /// 产品信息
    /// </summary>
    public class Product : AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        public int No { get; set; }

        /// <summary>
        /// 产品型号
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        /// 产品显示名称
        /// </summary>
        public string DispalyName { get; set; }

        /// <summary>
        /// 产品显示名称（中文）
        /// </summary>
        public string DispalyNameCN { get; set; }

        protected Product()
        {
        }

        public Product(Guid id, int no, string model, string dispalyName, string dispalyNameCN) : base(id)
        {
            No = no;
            Model = model;
            DispalyName = dispalyName;
            DispalyNameCN = dispalyNameCN;
        }
    }
}
